package com.csc.springcore.models;

public class Employee {
	private Integer id;
	private String name;
	private String gender;
	private String email;

	public Employee(Integer id, String name, String gender, String email) {
		this.id = id;
		this.name = name;
		this.gender = gender;
		this.email = email;
	}
	
	// Getters, Setters
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	
	public String getGender(){
		return gender;
	}
	
	public void setGender(String gender){
		this.gender = gender;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "Employee\n\tId: " + id + "\n\tName: " + name + "\n\tGender: " + gender + "\n\tEmail: " + email;
	}

}
